package cn.yunhe.dao;

import cn.yunhe.model.Member;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository(value = "memberDao")
public interface MemberDao {
    boolean insertMember(Member member);
    boolean updateMember(Member member);
    boolean deleteMember(int mid);

    List<Member>searchByConditions(Map<String,Object>objectMap);
    Integer searchByConditions2TotalRecords(Map<String,Object>objectMap);

}
